<?php

namespace App\Models\Train\TrainTripInfo\Repositories\Interfaces;


use App\Models\Train\TrainTripInfo\TrainExitingPort;

interface TrainExitingPortRepositoryInterface
{
    public function addPort(array $data): TrainExitingPort;

    public function findOneByTrainAndStation(string $train_code, string $to_station_code): ?TrainExitingPort;
}